<style>
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
.fui-goods-item {
	padding:0;
    border-radius: 0.2rem;
    border: 1px solid #e7e7e7;
}
.jy-image-rank {
    float: right;
    top: 0;
    left: 0.1rem;
    padding: 2px 6px;
    position: absolute;
    color: #fff;
    background: #1678ff;
    font-size: 0.5rem;
    border-bottom-right-radius: 0.3rem;
	border-top-left-radius: 0.3rem;
    z-index: 3;
}
.jy-image-rank.topnum0{
	 background: #ef1d40;
}
.jy-image-rank.topnum1{
	 background: #fc771c;
}
.jy-image-rank.topnum2{
	 background: #febd00;
}
</style>
<div class="jy-group">
	<div class="fui-cell-group">
		<div class="fui-cell" style="padding:0.65rem 0.5rem">
			  <div class="fui-cell-label bold" style="width:auto">热租榜 </div>
			  <div class="fui-cell-info"></div>
			  <div ng-if="page.action!='rank'" class="fui-cell-remark" ng-click="access_json('jy_shop1miao/rank/')">全部榜单</div>
			  <div ng-if="page.action=='rank'" class="fui-cell-remark" ng-click="access_json('jy_shop1miao/shop.groups/')">查看其他</div>
		 </div>
	</div>
	<div ng-if="pagedata.list" class="fui-goods-group no" style="margin:0">
		<div ng-repeat="g in pagedata.list" class="fui-goods-group no" style="padding:0.2rem 0.4rem">
						<div class="fui-goods-item" style="padding:0.2rem" ng-click="access_json('jy_shop1miao/goods.detail//id='+g.id)" >
							<div class="image" style="background-image: url({{tomedia(g.image)}});position:relative; border-radius: 0.2rem;">
								<div ng-show="g.total<=0" class="salez" style="background-image: url({{tomedia(pagedata.setting.shop.saleout)}}); "></div>
								<div class="c jy-image-rank topnum{{$index}}">
									<div class="bold" style="font-size:0.8rem;line-height:1;">{{$index+1}}</div>
									<div style="line-height:1;">hot</div>
								</div>
							</div>
							<div class="detail" style="height:auto">
								<div class="name overflow-h2">
									{{g.title}}
								</div>
								<div class="fui-tag fui-tag-danger" style="font-size:0.5rem">可续租</div>
								<div class="text" style="font-size:0.5rem">
									<span class="red"><span class="title08">{{g.zu.price || '0.00'}}</span>元/天起</span>
									<span class="gray" style="font-weight:400">已成交{{g.salenum || 0}}</span>
								</div>
							</div>
						</div>
		</div>
	</div>
	<div ng-if="pagedata.loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
</div>
<script>
scope.tool.get_list('jy_shop1miao/goods.index/getlist/order=sales',true);
if(scope.page.action=='rank'){
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_shop1miao/goods.index/getlist/order=sales');
	}
}
</script>